package org.infodavid.common.model.impl.criteria;

import org.infodavid.common.model.criteria.IApplicationSettingsCriteria;
import org.infodavid.common.model.impl.criteria.SortCriteriaImpl;

/**
 * The Class ApplicationSettingsCriteriaImpl.
 */
public class ApplicationSettingsCriteriaImpl extends SortCriteriaImpl implements
    IApplicationSettingsCriteria {

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = -5781804069003150179L;

	/** The name pattern. */
	private String productNamePattern = null;

	/**
	 * The Constructor.
	 */
	public ApplicationSettingsCriteriaImpl() {
		super();
	}

	/*
	 * (non-Javadoc)
	 * @see org.infodavid.common.model.criteria.IApplicationSettingsCriteria#getProductNamePattern()
	 */
	public String getProductNamePattern() {
		return productNamePattern;
	}

	/*
	 * (non-Javadoc)
	 * @see
	 * org.infodavid.common.model.criteria.IApplicationSettingsCriteria#setProductNamePattern(java.lang
	 * .String)
	 */
	public void setProductNamePattern(final String value) {
		productNamePattern = value;
	}

	/*
	 * (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		final StringBuilder builder = new StringBuilder();

		builder.append(super.toString());
		builder.append("[productNamePattern=");
		builder.append(productNamePattern);
		builder.append("]");

		return builder.toString();
	}
}
